//
//  SZChannelView.h
//  03-仿网易新闻
//
//  Created by ItHeiMa on 2017/1/3.
//  Copyright © 2017年 itHeima. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SZChannelViewDelegate <NSObject>

- (void) channelChanged: (NSInteger) index;

@end

@interface SZChannelView : UIView

@property (nonatomic, weak) id <SZChannelViewDelegate> delegate;

/**
 频道的模型数组
 */
@property (nonatomic, strong) NSArray *channelList;

@property (nonatomic, assign) NSInteger currentIndex;

@end
